//
//  UserLogoutApi.m
//  gamebox_qpp
//
//  Created by 赵隆杰 on 2022/1/6.
//

#import "UserLogoutApi.h"

@implementation UserLogoutApi{
    NSString *_token;
}

- (instancetype)initWithToken:(NSString *)token
{
    if (self = [super init])
    {
        _token = token;
    }
    
    return self;
}

- (NSString *)requestUrl {
    
    return @"user/loginOut";
}

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}

- (id)requestArgument {
    
    NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
    
    params[@"token"] = _token;
    
    return params;
}

@end
